package com.jixu.streetapp.excel;


import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

import java.math.BigDecimal;


/**
 * @author "Jixu" 664480310@qq.com
 * @since 1.0.0 2023-02-20
 */
@Data
public class StreetExcel extends BaseRowModel {

    private Long id;
    @ExcelProperty(index = 1, value = "企业名称")
    @ColumnWidth(value = 45)
    private String name;
    @ExcelProperty(index = 0, value = "地址")
    @ColumnWidth(value = 75)
    private String address;
    @ExcelProperty(index = 2, value = "所属街道")
    @ColumnWidth(value = 20)
    private String street;

    private BigDecimal longitude;

    private BigDecimal latitude;

}